package com.example.cricketscorer.client.bean;

import com.google.gwt.user.client.rpc.IsSerializable;

public class PlayerBean implements IsSerializable {
	private String name;
	private BATSTYLE batstyle;
	private BOWSTYLE bowstyle;
	private PLAYINGROLE playingRole;
	
	public PlayerBean() {
		
	}
	
	public PlayerBean(String name, BATSTYLE batstyle, BOWSTYLE bowstyle,
			PLAYINGROLE playingRole) {
		super();
		this.name = name;
		this.batstyle = batstyle;
		this.bowstyle = bowstyle;
		this.playingRole = playingRole;
	}
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public BATSTYLE getBatstyle() {
		return batstyle;
	}
	public void setBatstyle(BATSTYLE batstyle) {
		this.batstyle = batstyle;
	}
	public BOWSTYLE getBowstyle() {
		return bowstyle;
	}
	public void setBowstyle(BOWSTYLE bowstyle) {
		this.bowstyle = bowstyle;
	}
	public PLAYINGROLE getPlayingRole() {
		return playingRole;
	}
	public void setPlayingRole(PLAYINGROLE playingRole) {
		this.playingRole = playingRole;
	}
	
}
